home *** CD-ROM | disk | FTP | other *** search
/ Freelog 46 / Freelog046.iso / Alu / Celestia / Win32LoresTex / celestia-lores-win32-1.3.0.exe / {app} / shaders / simple.vp < prev    next >
Text File  |  2001-11-01  |  297b  |  14 lines

  1. !!VP1.0
  2.  
  3. # c[0]..c[3] contains the concatenation of the modelview and projection matrices.
  4.  
  5. # Transform the vertex by the modelview matrix
  6. DP4   o[HPOS].x, c[0], v[OPOS];
  7. DP4   o[HPOS].y, c[1], v[OPOS];
  8. DP4   o[HPOS].z, c[2], v[OPOS];
  9. DP4   o[HPOS].w, c[3], v[OPOS];
  10. MOV   o[TEX0], v[TEX0];
  11.  
  12. END
  13.  
  14.